package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmChannelService extends IService<WmChannel> {
    //查询频道列表
    ResponseResult channelList();
    //添加频道
    ResponseResult saveChannel(WmChannel wmChannel);
    //查询列表
    PageResponseResult findList(ChannelDto dto);
    //修改频道名字
    ResponseResult updateChannel(WmChannel wmChannel);
    //删除频道
    ResponseResult delete(Integer id);
}